<?php
   session_start(); 
      if ($_REQUEST['host']) {
      $_SESSION['host'] =  $_REQUEST['host'];
      }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <link rel="stylesheet" type="text/css" href="iphone.css" title="style" />
    <link rel="stylesheet" type="text/css" href="nintendo.css" title="style" />
    <script type="text/javascript" src="lib/prototype.js"></script>
    <script type="text/javascript" src="lib/scriptaculous.js"></script>
    <script type="text/javascript" src="server.js"></script>
    <script type="text/javascript" src="nintendo.js"></script>
  </head>
  <body>
    <div id="site">

<img id="Image-Maps_7200905252346513" src="controller-scaled.png" usemap="#Image-Maps_7200905252346513" border="0" alt="" />
<map id="_Image-Maps_7200905252346513" name="Image-Maps_7200905252346513">
<area shape="rect" coords="62,68,102,94" href="javascript:nintendoUp();" alt="up" title="up"    />
<area shape="rect" coords="34,95,64,130" href="javascript:nintendoLeft();" alt="left" title="left"    />
<area shape="rect" coords="100,95,130,136" href="javascript:nintendoRight();" alt="right" title="right"    />
<area shape="rect" coords="64,131,100,164" href="javascript:nintendoDown();" alt="down" title="down"    />
<area shape="rect" coords="174,131,209,146" href="javascript:nintendoSelect();" alt="select" title="select"    />
<area shape="rect" coords="237,130,273,144" href="javascript:nintendoStart();" alt="start" title="start"    />
<area shape="rect" coords="340,138,20" href="javascript:nintendoB();" alt="b" title="b"    />
<area shape="rect" coords="405,13820" href="javascript:nintendoA();" alt="a" title="a"    />
</map>

<!-- Image map text links - End - -->

      <div class="clear"></div>
      <br/>
      <br/>
      <br/>
      <br/>
    <?php include 'host.php'; ?>

      <div id="mainJS">
        <!-- the communication is done here -->
      </div>

    </div>
  </body>
</html>

